package com.example.yyjc.domain.countryanalyze;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.metadata.BaseRowModel;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;
import org.apache.ibatis.type.Alias;

/**
 * @ClassName GoodsTopTen
 * @Description TODO
 * @Author lvyongwei
 * @Date 2020-11-18 17:11
 **/
@Data
@Alias("goodsTopTen")
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
public class GoodsTopTen extends BaseRowModel {

    /**
     * 商品名称
     */
    @ExcelProperty(value = "商品名称")
    @ColumnWidth(value = 15)
    private String goodsName;

    /**
     * 商品图片
     */
    @ExcelProperty(value = "商品图片")
    @ColumnWidth(value = 15)
    private String goodsPhotoPath;

    /**
     * 价格
     */
    @ExcelProperty(value = "价格")
    private double price;

    /**
     * 销量
     */
    @ExcelProperty(value = "销量")
    private Integer saleCount;

    /**
     * 增幅
     */
    @ExcelProperty(value = "增幅")
    private String increasingRange;

    /**
     * 日期
     */
    @ExcelProperty(value = "日期")
    private String createTime;

    /**
     * 国家名称
     */
    @ExcelProperty(value = "国家名称")
    @ColumnWidth(value = 15)
    private String countryName;
}
